package com.gupao.rpc.provider;

import com.gupao.rpc.protocol.server.NettyServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;

/**
 * 服务提供端
 *
 * @author SuperWein
 */
@ComponentScan(basePackages = {"com.gupao.rpc.protocol.spring.service", "com.gupao.rpc.provider.service"})
@SpringBootApplication
public class NettyRpcProviderApplication {
    public static void main(String[] args) {
        SpringApplication.run(NettyRpcProviderApplication.class, args);
//        new NettyServer("localhost", 8899).start();
    }
}
